package com.sky.mapper;

import com.sky.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author :  LENOVO
 * 创建时间 : 2024/6/18 11:53
 */
@Mapper
public interface OrderDetailMapper {
    void insertBatch(List<OrderDetail> orderDetailList);

    @Select("select * from order_detail where id=#{prderId}")
    List<OrderDetail> getByOrderId(Long orderId);
}
